# -*- coding:utf-8 -*-
import redis

r_db=redis.StrictRedis(host="127.0.0.1",port=6379,db=0)
# ret=r_db.lpush('1','100')
# print(ret)
# ret=r_db.lpush('1','200')
# print ret

print r_db.lrange('1',0,-1)
r_db.expire('1',1)

